<script lang="ts" setup>
import {ref,defineExpose} from 'vue'
const dialogFormVisible = ref(false)

const form = ref({
})
const formLabelWidth:string = '120px' 



    
const open = ()=>{
    dialogFormVisible.value = true
}
defineExpose({
    open
})
</script>

<template>
<div class="wrapped">


<el-dialog v-model="dialogFormVisible" title="申请出库" width="500">
    <el-form :model="form">
    <el-form-item label="申请出库数量：" :label-width="formLabelWidth">
       <el-input placeholder="请输入出库数量"   />
      </el-form-item>
      <el-form-item label="申请出库备注：" :label-width="formLabelWidth">
       <el-input type="textarea" :autosize="{ minRows: 4, maxRows: 4 }" placeholder="请输入出库备注"   />
      </el-form-item>

    </el-form>
    <template #footer>
      <div class="dialog-footer">
        <el-button @click="dialogFormVisible = false">确定</el-button>
        <el-button type="primary" @click="dialogFormVisible = false">
          取消
        </el-button>
      </div>
    </template>
  </el-dialog>
      </div>
</template>

<style lang="scss" scoped>
</style>